package cn.stylefeng.guns.modular.system.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @ClassName CollectorsAssociation
 * @Author lzy
 * @Date 2020/2/27 22:00
 * @VERSION 1.0
 */
@Data
@TableName("collectors_association")
public class CollectorsAssociation implements Serializable {

    @TableId("id")
    private Integer id;

    //会员证编号
    @TableField("member_id")
    @Excel(name = "会员证编号")
    private String memberId;

    //会员姓名
    @TableField("member_name")
    @Excel(name = "会员姓名")
    private String memberName;

    //入会时间
    @TableField("join_time")
    @Excel(name = "入会时间",importFormat = "yyyy/MM/dd HH:mm:ss")
    private Date joinTime;

    //邮编
    @TableField("postcode")
    @Excel(name = "邮编")
    private String postcode;

    //通信地址
    @TableField("contact_address")
    @Excel(name = "通信地址")
    private String contactAddress;

    //固定电话
    @TableField("fixed_telephone")
    @Excel(name = "固定电话")
    private String fixedTelephone;

    //手机号码
    @TableField("mobile_number")
    @Excel(name = "手机号码")
    private String mobileNumber;

    //收藏范围
    @TableField("collection_range")
    @Excel(name = "收藏范围")
    private String collectionRange;

    //工作单位及职务
    @TableField("work_unit_and_position")
    @Excel(name = "工作单位及职务")
    private String workUnitAndPosition;

    //身份证号码
    @TableField("id_card")
    @Excel(name = "身份证号码")
    private String idCard;

    //性别
    @TableField("sex")
    @Excel(name = "性别")
    private String sex;

    //推荐单位
    @TableField("recommended_by")
    @Excel(name = "推荐单位")
    private String recommendedBy;

    //换证缴费时间
    @TableField("renewal_payment")
    @Excel(name = "换证缴费时间",importFormat = "yyyy/MM/dd HH:mm:ss")
    private Date renewalPayment;

    //年龄
    @TableField("age")
    @Excel(name = "年龄")
    private String age;

}
